bitkeeper revision 1.1159.1.295 (4180ee31v7apKAXQ_iCd672ndA6I0Q)
authorkaf24@freefall.cl.cam.ac.uk <kaf24@freefall.cl.cam.ac.uk>
Thu, 28 Oct 2004 13:03:45 +0000 (13:03 +0000)
committerkaf24@freefall.cl.cam.ac.uk <kaf24@freefall.cl.cam.ac.uk>
Thu, 28 Oct 2004 13:03:45 +0000 (13:03 +0000)
commit5ee3c045eeb0c6cc418438e89ef18f4adbd16fb8
tree6572ae434c487273fcccc45009073cc986bb71ca
parentd93f0e01560a9d68ad6371458b792ae3f938af06
bitkeeper revision 1.1159.1.295 (4180ee31v7apKAXQ_iCd672ndA6I0Q)

New TLB-flush logic. By basing NEED_FLUSH() on the current time, as
well as the CPU and page timestamps, I was able to get rid of the
tedious epoch logic. We now only need special-case logic when the
32-bit clock wraps. In debug build I deliberately restrict the clock to
10 bits, so that the wrap logic gets exercised.
xen/arch/x86/flushtlb.c
xen/arch/x86/smp.c
xen/include/asm-x86/flushtlb.h